package org.jeecg.modules.demo.trader.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;



/**
 * @Description: trader
 * @Author: jeecg-boot
 * @Date:   2025-04-27
 * @Version: V1.0
 */
@Data
@TableName("trader")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="trader对象", description="trader")
public class Trader implements Serializable {
    private static final long serialVersionUID = 1L;

	/**内外部企业标识（1是内部企业，2是外部企业）*/
	@Excel(name = "内外部企业标识（1是内部企业，2是外部企业）", width = 15)
    @ApiModelProperty(value = "内外部企业标识（1是内部企业，2是外部企业）")
    @Dict(dicCode = "inoutside")
    private Integer inoutside;
	/**field5*/
	@Excel(name = "field5", width = 15)
    @ApiModelProperty(value = "field5")
    private String field5;
	/**field6*/
	@Excel(name = "field6", width = 15)
    @ApiModelProperty(value = "field6")
    private String field6;
	/**field7*/
	@Excel(name = "field7", width = 15)
    @ApiModelProperty(value = "field7")
    private String field7;
	/**field8*/
	@Excel(name = "field8", width = 15)
    @ApiModelProperty(value = "field8")
    private String field8;
	/**field9*/
	@Excel(name = "field9", width = 15)
    @ApiModelProperty(value = "field9")
    private String field9;
	/**field10*/
	@Excel(name = "field10", width = 15)
    @ApiModelProperty(value = "field10")
    private String field10;
	/**认证申请状态*/
	@Excel(name = "认证申请状态", width = 15)
    @ApiModelProperty(value = "认证申请状态")
    @Dict(dicCode = "TRADERAUTHSTATUS")
    private String traderauthstatus;
	/**开户名*/
	@Excel(name = "开户名", width = 15)
    @ApiModelProperty(value = "开户名")
    private String accountname;
	/**开户分支行*/
	@Excel(name = "开户分支行", width = 15)
    @ApiModelProperty(value = "开户分支行")
    private String subbankname;
	/**银行账号*/
	@Excel(name = "银行账号", width = 15)
    @ApiModelProperty(value = "银行账号")
    private String bankaccountno;
	/**注册时间*/
	@Excel(name = "注册时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "注册时间")
    private Date addtime;
	/**企业编码*/
	@Excel(name = "企业编码", width = 15)
    @ApiModelProperty(value = "企业编码")
    private String tradecode;
	/**结算等级*/
	@Excel(name = "结算等级", width = 15)
    @ApiModelProperty(value = "结算等级")
    private Integer gradeid;
	/**会员资金密码*/
	@Excel(name = "会员资金密码", width = 15)
    @ApiModelProperty(value = "会员资金密码")
    private String moneypsd;
	/**交易商英文全称*/
	@Excel(name = "交易商英文全称", width = 15)
    @ApiModelProperty(value = "交易商英文全称")
    private String fullnameEn;
	/**英文通讯地址*/
	@Excel(name = "英文通讯地址", width = 15)
    @ApiModelProperty(value = "英文通讯地址")
    private String addressEn;
	/**变更时间*/
	@Excel(name = "变更时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "变更时间")
    private Date updatedatetime;
	/**newoldcho*/
	@Excel(name = "newoldcho", width = 15)
    @ApiModelProperty(value = "newoldcho")
    private String newoldcho;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String creditnumber;
	/**营业执照号*/
	@Excel(name = "营业执照号", width = 15)
    @ApiModelProperty(value = "营业执照号")
    private String busliccode;
	/**税务登记证号*/
	@Excel(name = "税务登记证号", width = 15)
    @ApiModelProperty(value = "税务登记证号")
    private String taxregcode;
	/**链客模式操作员*/
	@Excel(name = "链客模式操作员", width = 15)
    @ApiModelProperty(value = "链客模式操作员")
    private Integer operatorid;
	/**链客模式所属企业*/
	@Excel(name = "链客模式所属企业", width = 15)
    @ApiModelProperty(value = "链客模式所属企业")
    private Integer tradernumber;
	/**ID*/

    @ApiModelProperty(value = "ID")
    private Integer id;
	/**worktypeid*/
	@Excel(name = "worktypeid", width = 15)
    @ApiModelProperty(value = "worktypeid")
    private Integer worktypeid;
	/**交易商编号*/
    @TableId(type = IdType.ASSIGN_ID)
	@Excel(name = "交易商编号", width = 15)
    @ApiModelProperty(value = "交易商编号")
    private Integer traderid;

	@Excel(name = "系统编号", width = 15)
    @ApiModelProperty(value = "系统编号")
    private Integer sysid;
	/**交易商中文全称*/
	@Excel(name = "交易商中文全称", width = 15)
    @ApiModelProperty(value = "交易商中文全称")
    private String fullname;
	/**交易商简称*/
	@Excel(name = "交易商简称", width = 15)
    @ApiModelProperty(value = "交易商简称")
    private String abbrname;
	/**法定代表人*/
	@Excel(name = "法定代表人", width = 15)
    @ApiModelProperty(value = "法定代表人")
    private String legallyar;
	/**中文通讯地址*/
	@Excel(name = "中文通讯地址", width = 15)
    @ApiModelProperty(value = "中文通讯地址")
    private String address;
	/**行业编号*/
	@Excel(name = "行业编号", width = 15)
    @ApiModelProperty(value = "行业编号")
    @Dict(dicCode = "HANGY")
    private String industryid;
	/**会员级别*/
	@Excel(name = "会员级别", width = 15)
    @ApiModelProperty(value = "会员级别")
    @Dict(dicCode = "USERTRADERTYPE")
    private String tradertypeid;
	/**所属地区*/
	@Excel(name = "所属地区", width = 15)
    @ApiModelProperty(value = "所属地区")
    private String regioncode;
	/**企业联系人*/
	@Excel(name = "企业联系人", width = 15)
    @ApiModelProperty(value = "企业联系人")
    private String contacts;
	/**办公电话*/
	@Excel(name = "办公电话", width = 15)
    @ApiModelProperty(value = "办公电话")
    private String officephone;
	/**办公手机*/
	@Excel(name = "办公手机", width = 15)
    @ApiModelProperty(value = "办公手机")
    private String mobilephone;
	/**传真*/
	@Excel(name = "传真", width = 15)
    @ApiModelProperty(value = "传真")
    private String fax;
	/**企业网址*/
	@Excel(name = "企业网址", width = 15)
    @ApiModelProperty(value = "企业网址")
    private String website;
	/**企业简介*/
	@Excel(name = "企业简介", width = 15)
    @ApiModelProperty(value = "企业简介")
    private String introduce;
	/**field1*/
	@Excel(name = "field1", width = 15)
    @ApiModelProperty(value = "field1")
    private String field1;
	/**field2*/
	@Excel(name = "field2", width = 15)
    @ApiModelProperty(value = "field2")
    private String field2;
	/**field3*/
	@Excel(name = "field3", width = 15)
    @ApiModelProperty(value = "field3")
    private String field3;
	/**field4*/
	@Excel(name = "field4", width = 15)
    @ApiModelProperty(value = "field4")
    private String field4;

    public Integer getSysid() {
        return sysid;
    }

    public void setSysid(Integer sysid) {
        this.sysid = sysid;
        this.traderid = sysid;
        this.id = sysid;
    }
}
